package com.medical.wechat.service;

import com.medical.wechat.model.WechatMenu;

import java.util.List;
import java.util.Map;

public interface WechatMenuService {

	public List<WechatMenu> selectMenuByAccountId(String accountId);
	public List<WechatMenu> findByAccountId(String accountId);
	public List<WechatMenu> selectByParentId(String parentId);
	public WechatMenu findById(String id);
	public void createWechatMenu(WechatMenu menu);
	public void updateById(WechatMenu wechatMenu);
	public void deleteWechatMenuById(String id);
	public String generateDefaultMenu(String accountId, String userId);
	public String generateWechatMenu(String accountId);
	public String changeMenuToOAuth(String accountId, String root, String forword);
}

